package com.china.book.api;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * Created by wangxiangyun on 2018/9/10.
 */
@Data
@ToString
public class LoginParameter {
    @NotNull(message = "用户ID不能为空")
    private String userId;
    @Size(message = "长度不够", min = 10, max = 900)
    private String name;
    private String mark;
}
